A new spectral energy distribution of photons in the fireshell model of GRBs