Self-repair of lead-acid batteries