Scanning tunneling spectroscopy of high-temperature superconductors