MoDS: Model-oriented Data Selection for Instruction Tuning