Formation of Ferroelectricity in Hafnium Oxide Based Thin Films