Optoelectronic devices, plasmonics, and photonics with topological insulators