Elastic analysis of cylindrical pressure vessels with various end closures