A compound composed of hydrogen and oxygen is found to contain 0.59 g of hydrogen and 9.40 g of oxygen. The molar mass of this compound is 34.0 g/mol. Find the empirical and molecular formulas.