how to calculate amp hours of batteries in series