Development of biofilms in anaerobic reactors