From Atomic to Mesoscopic Descriptions of the Internal Dynamics of DNA