Thermodynamics of the intercalation of acridines in DNA