Thousands of people have been killed in sectarian attacks by Sunni and Shi'ite militants in Pakistan since the 1980s.