Fresh Atlantic air has brought to an end a record-breaking week of warmth that has delivered the UK's hottest May day.