Maximum Power Control Algorithm for Power Take-Off System Based on Hydraulic System for Floating Wave Energy Converters