Role of iron-reducing bacteria in corrosion and protection of carbon steel