Phase transformation in ALD hafnia based layers for silicon-on-ferroelectric devices