Structural insights into the membrane-anchoring mechanism of a cholesterol-dependent cytolysin