Iranian president says US military moves in Caribbean 'entirely illegal'