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