Synthesis, characterization of nitro or amino substituted pyridyl ligands bridged by an ester or ether bond, and their antibacterial assessment against drug resistant bacteria