Quantifying the way rivers bend opens up possibility for identifying origins of channels on other planets