Direct measurement of quantum efficiency of single-photon emitters in hexagonal boron nitride