Analysis and design of turns in alpha-helical hairpins