The influence of residential and work locations on commuting durations and distances