Sarah Ferguson has been stripped of the freedom of the city of York by councillors.