Market efficiency with respect to corporate credit conditions and internal capital allocation