Investigation of protonic conduction in Yb- and Y-doped barium zirconates