Quantum non-demolition measurements using Bose-Einstein condensates