Applications of Dynamic Nucleic Acid Nanotechnology in Closed-Loop Genetic Circuits and Detection of Viral Pathogens