Controllable thermal expansion and phase transition in Yb2−xCrxMo3O12