The effect of temperature on capacity and power in cycled lithium ion batteries