Changes in microstructure, texture and residual stresses on the surface of a rail resulting from friction and wear