Children's Causal Attributions to Self and Other as a Function of Outcome and Task.