Recent developments in corrosion inhibitors based on rare earth metal compounds