Heterocyclic systems containing S/N regioselective nucleophilic competition: facile synthesis, antitubercular and antimicrobial activity of thiohydantoins and iminothiazolidinones containing the benzo[b]thiophene moiety