Quantum rotor model for a Bose-Einstein condensate of dipolar molecules.