Weibull-Fréchet random path length model for avalanche gain and noise in photodiodes