India says truce reached with Pakistan after talks between military officials