. "In such a case, the character of the government action not only is an important factor inresolving whether the action works a taking but also is determinative." . . .