State Estimation of Linear Systems With Sparse Inputs and Markov-Modulated Missing Outputs