Nitrification as a bacterial energy source