Modi, Ghani denounce terrorism, vow to strengthen bilateral ties