Calorimetry at surfaces using high-resolution core-level photoemission.