Percentage composition and empirical formulas