Operator martingale decomposition and the Radon-Nikodym property in Banach spaces