Thermal spraying and the fabrication of coatings with tailored electromagnetic properties