gold closes lower for a second day