Laser cooling of trapped atoms to the ground state : a dark state in position space