Highly efficient removal of rare earth elements by two-dimensional titanium carbide nanosheets as impacted via water chemistry