Computational and experimental investigation of flow over a transient pitching hydrofoil