US dollar, demand weigh on gold prices