Preparation and characterization of a vitreous phase and application as a corrosion inhibitor in acidic medium