Heavy rain and thawing snow has led to flooding across the UK.