Comparative analysis of Grid forming and Grid following controls for Type-3 and Type-4 Wind Turbines