Measurement of the linear polarization of continuum gamma rays from (32S, xn) reactions to prolate and oblate rare-earth nuclei