Towards efficient extremum-seeking control of wave energy systems: possibilities and pitfalls