Credit contagion in a network of firms with spatial interaction