Interevent Time Distribution in Seismicity: A Theoretical Approach