Helix geometry in proteins