Absorptiometric and fluorimetric study of solvent dependence and prototropism of benzimidazole homologues