Power electronics as grid interface for actively controlled wave energy converters