Gold climbs as dollar falls and oil dips