Control of repeat-protein curvature by computational protein design