Design of membrane shells of revolution with optimal stiffness