Unique phase retrieval of ultrashort optical pulses with well-separated frequency components