PAC-Bayes bounds for stable algorithms with instance-dependent priors