Diagnosis of DI Diesel combustion from in-cylinder pressure signal by estimation of mean thermodynamic properties of the gas