An electromagnetic method of measurement of density or specific gravity of liquids