Synthesis and characterization of nitrated and aminated poly(phenylene sulfide) derivatives for advanced applications