Ab initio studies of electronic properties of bare GaN(0001) surface