PHOTON SIDEBANDS OF THE GROUND STATE AND THE EXCITED STATE OF A QUANTUM DOT : A NONEQUILIBRIUM GREEN-FUNCTION APPROACH