Spontaneous emission in stimulated Raman adiabatic passage