Gravimetric, thermodynamic, electrochemical and quantum studies on corrosion inhibition of mild steel in HCI solution