Capacity vs Reliability in railways: A stochastic micro-simulation approach