Resilience of methanogenesis in an anaerobic reactor subjected to increasing sulfate and sodium concentrations