Generation of femtosecond optical pulses with nanojoule energy from a diode laser and fiber based system