Polarized neutron diffraction at a spallation source for magnetic studies