Elves have keener senses than Men, and many of them are able to see into the spirit world as well, so I suspect between the two they would appear able to see in darkness. Dwarves aren't attributed with this same ability, but logic suggests a race which preferred to live underground would be able to adjust to low light conditions faster and more effectively. No race in the Tolkien legendarium, however, is ever described as being able to see heat or infrared specifically that I know of.