Monte Carlo simulation of the ELIMED beamline using Geant4