MCGRtof: Monte Carlo G(r) with resolution corrections for time-of-flight neutron diffractometers