Ehlers-Harrison-type transformations for Jordan's extended theory of gravitation