Morphology and Raman scattering spectrum of GaN nanowires embedded in nanochannels of template