A Geant4 simulation code for simulating optical photons in SPECT scintillation detectors