Germany 's Foreign Minister Frank-Walter Steinmeier says there is still time for Iran to agree to talks on its nuclear program and avoid international sanctions .