Synthesis, characterisation and antimicrobial activity of heterocyclic compounds containing N and / or S atoms