Simulation of charge–discharge cycling of lithium-ion batteries under low-earth-orbit conditions