Mg2+ ions mediate the interaction of intrinsically disordered nascent chains with the ribosome implications for protein folding and aggregation in the early stages of protein life