A New Approach to the Theory of Photoemission from Solids