A Study on the Emissions of Chemical Species from Heavy-Duty Diesel Engines and the Effects of Modern Aftertreatment Technology