The Exact Sample Complexity Gain from Invariances for Kernel Regression