Quantitative determination of the adiabatic condition using force-detected nuclear magnetic resonance