Assessment of water quality and remediation of heavy metals in a coastal system