Faster-charging, safer batteries