Adaptive Balancing Control of Cell Voltage in the Charging/Discharging Mode for Battery Energy Storage Systems