Theory and design of pressure vessels