Predicting price spikes in electricity markets using a regime-switching model with time-varying parameters