Effect of the ammoniating time on microstructure and morphology of one-dimensional Mg-doped GaN nanowires catalysed with Au