Synthesis, metal ion complexation and antibacterial activities of some thiapodands with lipophilic amide and ester end groups