Stochastic improvement of cyclic railway timetables