Effect of Protein Structure on Evolution of Cotranslational Folding