History-Gradient Aided Batch Size Adaptation for Variance Reduced Algorithms