A pulser-controlled dual window unit for use in gain stabilization of scintillation detectors