Effects of diamines on the thermal transition of DNA