Spectral Analysis of GRBs Observed by Swift and Fermi Satellites