Heads’ leaders tell the DfE that it needs to address conditions in school buildings if heatwaves become the norm