First-principles calculations of structural, electronic and optical properties of ZnGa2O4:Cr3+ system