Dipolar-glass model for lead magnesium niobate.