Control of pH in closed cycle aquaculture systems