Mathematical model of transmission pulse oximetry