Analysis of mobile phone data finds people are swapping big cities for life by the seaside.