Text this: The effects of properties, microstructure and phase transformation on the erosion of hard materials