Amino and carboxy-terminal regions in globular proteins