Mixed-mode chromatography of nucleic acids