Thailand and Cambodia agree truce after five days of fighting