Molecular mechanisms of heme based sensors from sediment organisms capable of extracellular electron transfer.