Dark current generation mechanisms and spectral noise current in long-wavelength infrared photodiodes