State estimation of stochastic systems with switching measurements : a polynomial approach