Sufficient statistics for team decision problems