Self-assembly of three-dimensional nucleic acid nanostructures