gold, other metals close higher as dollar drops