Isostericity and tautomerism of base pairs in nucleic acids