Thermal spraying for nanostructured ceramic coatings: a viable technology