Oil prices rise after sharp declines over demand fears