Generation of femtosecond soliton pulses by passive mode locking of an ytterbium-erbium figure-of-eight fiber laser