Dollar Tree profit rises 22% in Q2