The thermal degradation of nucleic acids.