glitch-free clock switching circuit