Co-Transcriptional Folding and Regulation Mechanisms of Riboswitches