Event and Entity Coreference using Trees to Encode Uncertainty in Joint Decisions