Comparison of the characteristics of a hydrofoil under cavitating and non-cavitating operation