Heat transfer from a rarefied plasma flow to a metallic or nonmetallic particle