Iran warns regional energy infrastructure will be ‘legitimate targets’ if own facilities hit