Apparatus and plants for the biological treatment of water, waste water or sewage