Population Genetics of Identity By Descent