Scalable chemical synthesis of doped silicon nanowires for energy applications.