Days of sun-drenched weather brought health warnings across the UK and Ireland, highlighting dangers from both the heat and open-water swimming.