How can we measure risk exposure of banks and credit markets?