Molecular dynamics calculations of shear viscosity time-correlation functions for hard spheres