Layered europium hydroxide system for phosphorous sensing and remediation