Shaping a coordinated credit network in pre-modern and modern Italy