Transmission Capacity of Wireless Ad Hoc Networks: Successive Interference Cancellation vs. Joint Detection