Nascent chains can form co-translational folding intermediates that promote post-translational folding outcomes in a disease-causing protein