Mesomeric and pi-moments in some hetero-conjugated compounds