Injection of oxygen vacancies in the bulk lattice of layered cathodes