Adsorption of pseudoisocyanine and of a thiacarbocyanine dyes on silver halides nanoparticles