First principles calculations of electronic and optical properties of GaN 1- x Bi x alloys