Signal-dependent turnover of the bacterial flagellar switch protein FliM