Supreme Court allows appointment of retired judges to High Courts on an ad hoc basis