A structural ensemble of a ribosome-nascent chain complex during co-translational protein folding