Optimal Coherent Combining Scheme for Relay Networks