Rescheduling railway traffic taking into account minimization of passengers’ discomfort