Performance Evaluation, Optimal Power Allocation, And Physical Layer Designs For Wireless Relaying Systems