Curvature and lipid packing modulate the elastic properties of lipid assemblies: comparing HII and lamellar phases