Ab initio modeling of ligand adsorption on colloidal CuInS2 quantum dots