Search for pair production of first or second generation leptoquarks in proton-proton collisions at √s=7 TeV using the ATLAS detector at the LHC