Does social capital help communities to cope with long-distance commuting?