First-Principles Investigations of Intrinsic and Si-doped GaAs Nanowires: Structural Stability and Electronic Properties