Britain affected by heatwave