Three-dimensional GaN/AlN nanowire heterostructures by separating nucleation and growth processes.