gold closes lower, palladium rises