Recovery of base and precious metals from waste printed circuit boards and spent catalysts by hydrometallurgical processes