The electronic and optical properties of nickel doped arsenic triselenide