Optimization of a linear generator for sea-wave energy conversion by means of a hybrid evolutionary algorithm