The Radon transform between monogenic and generalized slice monogenic functions