Temperature-Compensated InGaAs Avalanche Photodetectors