Modeling continuous time series with many zeros and an application to earthquakes