1D Nanomaterials and Their Optoelectronic Applications