Microbiological corrosion in aerobic and anaerobic waste purification plants: safety and efficiency problems