The development of a (bio)technology for waste management and recovery of water from effluents from hydrometallurgical processes