Folding pathway mediated by an intramolecular chaperone: the structural and functional characterization of the aqualysin I propeptide