Nonequilibrium statistical mechanics of concentrated colloidal dispersions: Hard spheres in weak flows