Assessing marine operations with a Markov-switching autoregressive metocean model