Erosion mechanisms of thermally sprayed coatings with multiple phases