Effects of vacancy defects on the electronic structure and optical properties of GaN:Fe