The effect of diversification on capital structure