The atomic and electronic structure of Hf0.5Zr0.5O2 and Hf0.5Zr0.5O2:La films