A new control strategy for tracking peak power in a wind or wave energy system