Gaussian curvature and the equilibrium among bilayer cylinders, spheres, and discs