Circuit Theory Predicts Gene Flow in Plant and Animal Populations