Linear CNNs Discover the Statistical Structure of the Dataset Using Only the Most Dominant Frequencies