Phase-Locked Second Harmonic Generation in Sub-Wavelength Channels