Extrema problems with critical Sobolev exponents on unbounded domains