Nonlinear response of permanent dipoles in a mean-field potential to alternating fields