Oil prices edge higher as weak dollar boosts demand