Exact occupation probabilities for intermittent transport and application to image correlation spectroscopy