Adaptive Helmholtz resonator based on electroactive polymers: modeling, characterization, and control