Determination of palladium, platinum and gold by first derivative spectrophotometry