The comparative biological properties of Mg+ or Ca+ implanted Cu–TiN nanocomposite coatings on titanium alloys