A Distributed Power Sharing Approach for Islanded Microgrids