The polarized gamma-ray burst GRB 061122