Microstructure-based thermo-mechanical modelling of thermal spray coatings