Synthesis, microstructure, and mechanical properties of TiO2/Ni nanocomposite coatings