The UK and France have been at the forefront of discussions aimed at deterring Vladimir Putin from invading Ukraine again.