Mass-selective isolation of ions stored in a quadrupole ion trap. A simulation study