Measurements of the electron and muon inclusive cross-sections in proton-proton collisions at root s=7 TeV with the ATLAS detector