Quantum threshold for optomechanical self-structuring in a Bose-Einstein condensate.