Describe the mathematical and structural differences between CNNs and Transformers when processing spatial data.