Low cost synthesis of silicon nanowires for photonic applications