Synthesis and optical properties of silicon nanowires grown by different methods