ConocoPhillips agrees to sell San Juan Basin assets