Fabrication of photonic devices in glass with femtosecond laser pulses