Molluscan paleoecology in the reconstruction of coastal changes