The joint aggregation of beliefs and degrees of belief