Spin-density distribution in some heterocyclic systems