gold surges to record; dollar's loss is oil's gain