Structure and Function Relationships of Heme-Based Gas Sensors and Heme-Redox Sensors