Chemical analysis of an unknown compound gives a molar mass of 519 g/mol and a percentage composition of 77.26% mercury, 9.25% carbon, and 1.17% hydrogen with the rest being oxygen. Determine the empirical and molecular formulas for the unknown compound.