Ab initio calculations on the ground and excited electronic states of AsI molecule including spin-orbit coupling