A multi-class ramp metering and routing control scheme to reduce congestion and traffic emissions in freeway networks