Coastal towns will get gobbled up by rising sea levels if global temperatures increase by just 4C, according to experts.