Elastoplastic State of a Pipe with Nonuniform Thickness of the Walls under Combined Loading