Heavy snowfall has led to delays on the railways - as train companies urge passengers not to travel.