Conflicting roles of nickel in controlling cathode performance in lithium ion batteries.