Efficiency Optimized Power-Sharing Algorithm for Modular Battery Energy Storage Systems