Proton and carbon-13 NMR studies of some 5-membered heterocyclic compounds