Analysis of viscoelastic soft dielectric elastomer generators operating in an electrical circuit