Analysis of the degree of constant volume and cooling loss in a spark ignition engine fuelled with hydrogen