Polarization and composition of the Crab nebula