The most expensive places to buy a property around the coastline of mainland Britain have been revealed, as people flock to move to the seaside.