The UK has been battered by extreme weather this week.