Text this: Optimization of a company’s capital structure based on the criterion of minimizing the level of financial risk