On the calculation of equilibrium time correlation functions in hard-sphere fluids