Why babies learn best when their brainwaves are in sync.