Frequency stability measurement of a transfer-cavity-stabilized diode laser by using an optical frequency comb