Pair approximation model for the vaccination game: predicting the dynamic process of epidemic spread and individual actions against contagion