Microstructure and mechanical properties of ceramic coatings on Ti and Ti-based alloy