A new algorithm for the characterization of themodynamics of monomer-dimer process of dye stuffs by photometric temperature titration