Non-equilibrium segregation in metals and alloys