Effect of diversification on capital structure