Biosynthesis of XR587 (streptopyrrole) in Streptomyces rimosus involves a novel carbon-to-nitrogen rearrangement of a proline-derived unit