Setting goals around tasks, not outcomes, is the best way to improve performance, a study shows