Iranian military warns against attacks on infrastructure, threatens retaliation