Influence of buffer layers on the structural properties of molecular beam epitaxy grown GaN layers