A model for the jitter of avalanche photodiodes with separate absorption and multiplication regions