Iranian president says regional US military bases, facilities ‘legitimate targets’