Thailand has said that six of its soldiers and 13 civilians were killed, including children, while 29 soldiers and 30 civilians were wounded.