Concentration phenomena in elliptic problems with critical and supercritical growth