Length-based connectivity metrics and their ecological interpretation