Recovery of rare earth metals and base NiMH batteries exhausted and spent catalysts of the petrochemical industry