Oil prices up as weak US dollar spurs higher demand