York's probation delivery unit has been given the lowest possible rating by the HM Inspectorate of Probation.