Structure of a MACPF/perforin-like protein