Under Israeli attack, Iran has ‘legitimate’ right to self-defence: Erdogan