Understanding of emotions based on counterfactual reasoning in children with autism spectrum disorders