Iran says ‘necessary warning’ sent to US amid retaliatory attacks on Israel