Thailand warns about violence ahead of protests