Origin of the Pseudogap in High-Temperature Cuprate Superconductors