Investigation of particle flattening behaviour and bonding mechanisms of APS sprayed coatings on magnesium alloys