Fluid-structure interaction effects on the dynamics of a moving deformable hydrofoil in a fluid flow