Hundreds of mourners in Pakistan have attended the funerals of three schoolgirls and two soldiers killed in a suicide bombing that targeted a school bus