Oil and gold increase as dollar falls