The Met Office says 2012 has been the second wettest year on record in the UK, as a study says the frequency of extreme rainfall may be increasing.