Prediction of new metastable $$\hbox {HfO}_{2}$$HfO2 phases: toward understanding ferro- and antiferroelectric films