Stability and control for linear systems with jump Markov perturbations