Modeling of dielectric elastomers:Design of actuators and energy harvesting devices