Several European regions had their highest temperatures on the last day of June, as a heatwave continues into July.