Single-atom aided probe of the decoherence of a Bose-Einstein condensate