gold climbs as weaker dollar spurs investor demand