US prisoners leave Iran, arrive in Germany, as Obama hails win for diplomacy