Closed-Form Error Probability of Network-Coded Cooperative Wireless Networks with Channel-Aware Detectors