Dependence of connectivity on geometric distance in brain networks