Redox processes in highly yttrium-doped barium titanate