Formation of white-etching layers on rail treads