Event-triggered and Self-triggered Control for Networked Control Systems with Short Network-induced Delays: A Switched System Approach