Tailored ligands for hybrid materials from colloidal inks