Studies on the dissociation constants of ligands and their complexes in aqueous and mixed solvents and their spectral aspects