Magnetic properties of HfO2 thin films