A technique for estimating the absolute gain of a photomultiplier tube