Learned Feature Variability Predicts Visual Search and Working Memory Precision