Synthesis, spectral and biological activity studies of some organophosphorus and sulphur heterocyclic compounds