Synthesis, spectroscopic and physicochemical investigations of environmentally benign heterocyclic Schiff base derivatives as antibacterial agents on the bases of in vitro and density functional theory.