On the detection of a signal in colored noise