Why children and adults sometimes (but not always) compute implicatures