Pakistan floods affect 300,000