At least 28 children and their teacher are dead after a school roof collapsed in Pakistan.