The leaders of Britain, Germany and France have declared their backing for the Iran nuclear deal renounced by President Donald Trump, saying it is "in our shared national security interest."