Molecular basis for the folding and autocatalytic processing of beta-helical autotransporter passenger domains