Spin effects in the fragmentation of a transversely polarized quark