Oil prices stable as gains capped by demand fears