Robust and Switched Control Design for Electrical Stimulation of Lower Limbs: a Linear Analysis