Optimal capital planning and long-term funding for urban rail organisations