Self-assembled and ordered growth of silicon and germanium nanowires