factors affecting cost of capital