Preferential targeting of i-motifs and G-quadruplexes by small molecules