Positive solutions of a Schrödinger equation with critical nonlinearity