Measurement of the polarization of the recoil neutron from the photoproduction of charged pions on hydrogen