Synthesis of some novel nitrogen containing heterocycles and study of their antioxidant activity and corrosion inhibition performance on mild steel