How can I determine the empirical formula of a compound?