Behavioral inference in young children