Global warming causing saltier beaches, study says