Dirac R-matrix calculations of photoionization cross sections of Ni XII and atomic structure data of Ni XIII