Industrial districts in front of the financial crisis. Network structure, variety, risk sharing and resilience