The UK has experienced its warmest summer on record, with a mean average temperature across June, July and August of 16.5C.