How to calculate the shelf life of lead-acid batteries