The liquid-glass transition of the hard-sphere system