How to calculate the capacitance of a lead-acid battery