Pricing Counterparty Risk at the Trade Level and CVA Allocations