Contribution to the theory of high‐temperature superconductivity in YBa2Cu3O7