Stationary and oscillatory spatial patterns induced by global periodic switching.