why batteries degrade