Tracking and inferring spatial rotation by children and great apes.