Ray tracing simulations in scintillators: A comparison between SLitrani and Geant4