How collateral laws shape lending and sectoral activity