Real-Time Optimization Based Power Flow Controller for Energy Consumption and Emissions Reduction in a Parallel HEV