Spatial familial networks to infer demographic structure of wild populations