Thermo-mechanical stability of axially graded Rayleigh pipes