Corrosion inhibition studies of mild steel and copper in acid media by some pharmaceutically active compounds