Investigation of structural, morphological, optical, and magnetic properties of Sm-doped LaFeO3 nanopowders prepared by sol–gel method