Biological treatment of domestic sewage and industrial waste water with special emphasis on the recovery of some valuable byproducts