Optical fiber sensor based on differential spectroscopic absorption.