Optimal Design and Dynamic Analysis of Hydrofoil Mechanism of Wave Glider