Calculation of mass percent and molality of ethanol in wine