Search for Pair Production of Third-Generation Leptoquarks and Top Squarks in pp Collisions at sqrt[s]=7  TeV