Alignment of the amino acid sequences of distantly related proteins using variable gap penalties