Electron reconstruction and identification in the ATLAS experiment using the 2015 and 2016 LHC proton–proton collision data at sqrt(s) = 13 TeV