Measurement of the response of a 6Li-glass detector to gamma rays by a coincidence method