A rare red weather warning is in place as extreme temperatures continue across much of the UK.