Nucleic acid-templated assembly of therapeutic agents