Zack Polanski has accused ministers of a "dereliction of duty" in response to this summer's heatwaves.