Almost-everywhere algorithmic stability and generalization error