Failure and Reliability Analysis of Composite Pipes for Oil and Gas Drilling Applications