The foreign ministers of China and India have held telephone talks over the deadly border clash, agreeing to "cool down" the tensions.