Electrochemical corrosion inhibition investigations of mild steel in 1 M HCl solution