Modelling and testing of a wave energy converter based on dielectric elastomer generators