Energetics of lipid bilayers with applications to deformations induced by inclusions