GB grid warns of power risks in heatwave