ROLE OF THERMAL PHONONS IN HIGH-TEMPERATURE SUPERCONDUCTIVITY.