At least 34 children and a teacher have died after the roof of a private school collapsed in Pakistan.