Prince Andrew stripped of ‘freedom of city’ by York council