A Model for Estimating the Impact of National Transport Investments on the Rail Modal Share and Greenhouse Gas Emissions