Fighting between Thailand and Cambodia has displaced more than half a million people and killed nearly 40 on both sides since last Monday.