Review on hardware-in-the-loop simulation of wave energy converters and power take-offs