A variational Henstock integral characterization of the Radon-Nikodym property