explain the relationship between the empirical formula and the molecular formula of a chemical compound