Integration of Colloidal Nanocrystals into Lithographically Patterned Devices