Method of manufacturing nanochannels and nanochannels thus fabricated