Explosion-proof treatment of lead-acid batteries