A study of low-bias photocurrent gradient of avalanche photodiodes