Theoretical investigation of InAs/GaSb type-II pin superlattice infrared detector in the mid wavelength infrared range