Prime Minister Boris Johnson and his Irish counterpart Leo Varadkar agree they can "see a pathway to a possible deal" after talks, Downing Street says.