Impact of HfO2 deposition techniques on the switching parameters in embedded 1T-1R cells and arrays