First-Principles Study of Silicon Nanocrystals: Structural and Electronic Properties, Absorption, Emission, and Doping.