Energy-harvesting performance of a coupled-pitching hydrofoil under the semi-passive mode