Describir: State-space models with regime switching