Optimization of the MOVPE growth of GaN on sapphire