Spectrophotometric determination of gold and palladium in anode slimes after separation with Amberlite XAD-7 resin