Monte Carlo study of the time resolution of scintillating fibre detectors