A study of the bonding mechanism of sprayed coatings