Experimental and theoretical studies on corrosion inhibition of mild steel in hydrochloric acid solution