Permanent Magnet Linear Synchronous Generator for an Oscillating Hydrofoil in a Tidal Current Regime