Spectral Analysis of PbTiO3: Sm3 + or Dy3 + Ferroelectric Ceramics