High-resolution coral records of rare earth elements in coastal seawater: biogeochemical cycling and a new environmental proxy