Integral equations for classical fluids: I. The hard sphere case