Method for calculating the properties of hydrocarbons and its application to the refractive indices, densities, and boiling points of the paraffin and monoolefin hydrocarbons