Optimal Power Sharing in Microgrids Using the Artificial Bee Colony Algorithm