The Role of Niobium in Layered Oxide Cathodes for Conventional Lithium-Ion and Solid-State Batteries