Multi-body interaction effect on the energy harvesting performance of a flapping hydrofoil