Oxygen ion and mixed conductivity in compounds with the fluorite and pyrochlore structure