Buffer layers for the growth of GaN on sapphire by molecular beam epitaxy