Stability and halide selectivity of the fluoride riboswitch explained