Conformational transitions in RNA probed in riboswitch systems