President claims International Criminal Court ‘undermines the critical national security’ of US and allies such as Israel