Functional stability and adaptation of nitrifying bioreactor communities stressed by nickel