Synthesis and photoluminescence properties of semiconductor nanowires