XPS quantification of the hetero-junction interface energy