Scorching days are forecast for Melbourne as thunderstorms may bring flash-flood risks but no long-term relief from the heatwave, with temperatures soaring to 39 degrees on Monday.