Multifunctional UPQC operating as an interface converter between hybrid AC-DC microgrids and utility grids