Measurement of J/psi polarization in pp collisions at root s=7 TeV