More than 30 people have died in clashes between militant Sunni and Shiite groups in northwestern Pakistan, police say. Scores have been killed in such sectarian violence in the past few months.