Iran 'remains committed to diplomacy,' president tells pope