The influence of infrastructure on urban investment