Crystallisation and the glass transition in suspensions of hard colloidal spheres