Local-field study of the optical second-harmonic generation in a symmetric quantum-well structure.