Development of a self-calibrating hydrogen leak sensor