Interaction of nucleic acids with carbon nanotubes and dendrimers