What are the receptors that detect heat and cold called?

What are the receptors that detect heat and cold called?