Understanding action rationality: studies of neurotypical and autistic populations