Structural and electronic properties of Si1-xGex alloy nanowires