Microstructure and residual stress of diamond coatings on Ti6Al4V alloy and WC-Co