Electron reconstruction and identification efficiency measurements with the ATLAS detector using the 2011 LHC proton–proton collision data