Search for three-jet resonances in pp collisions at sqrt[s]=7 TeV