Impact of investment and financing policies on profitability and risk