An overview on the use of corrosion inhibitors for the corrosion control of Mg and its alloys in diverse media