Measuring the absolute light yield of scintillators