Laser wake field acceleration with controlled self-injection by sharp density transition