Condensed phases of DNA: Structures and phase transitions