Crystal field effects on the magnetic behavior of Yb2V2O7 and Tm2V2O7