Calculation of the compressibility factor of natural gases based on the calorific value and the specific gravity