Technology for the neutralization of galvanic baths and metal recovery