Regulating DNA transport through solid-state nanopores to study non-canonical DNA structures and analyze gene synthesis reactions