Structure of GaN films grown by molecular beam epitaxy on (0001) sapphire