Crystal structure of LepI, a multifunctional SAM-dependent enzyme which catalyzes pericyclic reactions in leporin biosynthesis.