Antimicrobial, thermoanalytical and corrosion inhibition studies on schiff bases and their metal complexes