Grounding inductive biases in natural images: invariance stems from variations in data