Influence of Complementary Base Pair Interactions on the Secondary Structure Formation and Conformational Transitions of Polynucleotides