Emittance characterization of the spallation neutron source H− injector