Variable Frequency Repetitive-Resonant Combined Control for Grid-Tied and Intentional Islanding Operations