Court orders Essex County to provide methadone to inmate