Electronic structure and magnetic interactions in Ni-doped β-Ga2O3 from first-principles calculations