A possible mechanism of high temperature superconductivity