Met Office fears Scotland thunderstorm after heatwave