Geant3 simulation of the Hall C Compton polarimeter