Numerical analysis of the detectivity in n(+)-n-p and p(+)-p-n GaInAsSb infrared detectors