In brain, competing thoughts come in waves and rhythms