O 2p holes: Temperature effects and surface characteristics of cuprate superconductors.