Design And Testing of Charging Control Circuits for Commercial Li-Ion Batteries with Application to Spacecraft Power Storage