Photoemission spectroscopu of the superconducting and normal state for polaronic systems