Design of hybrid dye/colloidal nanocrystal composites for energy and charge transfer processes