An inverse correlation between loop length and stability in a four-helix-bundle protein