A modular tool for Service Dependability estimate in railway and metro systems