A great opportunity for me to discuss the beauty of the eye, again.
Our ability to detect visible radiation obviously gives us a huge advantage. However, from a chemistry standpoint, detecting visible is a big challenge. Every organic molecules absorbs in the IR, and all conjugated systems will absorb in the longer UV regions. However, the visible region is an extremely difficult region to work in, because few organic molecules can absorb light at those wavelengths. Nature has found rods and cones to do it, but we still need to recognize that it is a very special situation. If you go to an organic lab, most of the products are white or colorless (except for the black tar). Colored organic compounds are actually very notable, and are immediately considered as potential dyes.
OTOH, as I said, all organic molecules absorb in the IR, and most biological molecules will have groups that absorb in the UV. Therefore, we already have IR detectors in our skin. Sure enough, when your skin warms near the fire, it is from the absorption of IR radiation. Because of our IR detecting ability, we know for example when we get close to a fire, even if we are blind. In the same way, our skin is an IR emmitter, and gives off IR radiation.
Similarly, our skin is a UV detector. Sunburn is caused by the absoprtion of UV light.
Now, I don't know about the IR pits on a snake, but as has been noted, they will have to detect in regions outside of normal organic molecule vibrational frequencies, because even though the snake is cold-blooded, organic molecules emit at ambient temperatures, even when they are relatively low (the difference between 80 degrees and 32 degrees may seem large, but in an absolute sense it is less than a 10% difference (300 K vs 273 K). Therefore, even at 32 degrees, a snake skin will emit extensively in the IR. I'm guessing that the snakes IR pits are actually more in the near IR region, more in range of 1 - 2 microns. If molecules that absorb in the visible are rare, things that absorb in the near IR are very, very rare. When I hear of such things, I generally assume an open-shell system, like a free radical or a radical-ion, that can undergo a one-electron transition without having to unpair itself. However, open-shell molecules are also very reactive, and therefore don't make good detectors. Thus, being able to detect in the near IR requires very special make-up.