Glass-forming ability of the Ni–Zr and Ni–Ti systems determined by interatomic potentials