On the variance of sums of divisor functions in short intervals