Tehran says peace in the Caucasus is important but warns it will not tolerate a corridor sought by Baku and Ankara.