Tehran says shooting carried out by Islamic State to avenge execution of two men involved in attack on same site last year