Fundamentals of bacteria-induced corrosion