Performance optimization of InGaAs/InP SPADs for either low noise or high photon detection efficiency applications