Pipe-defect assessment based on the limit analysis, failure-assessment diagram, and subcritical crack growth