New redshifts of radio sources from the S4 and S5 surveys