Optical simulation of monolithic scintillator detectors using GATE/GEANT4