Firm dynamics, financing and aggregate productivity