Threshold photoernission spectroscopy in solids