Comparison of PMSG and DFIG for marine current turbine applications