UV–Vis spectroscopy and density functional study of solvent effect on the charge transfer band of the n → σ* complexes of 2-Methylpyridine and 2-Chloropyridine with molecular iodine