Why and How: Knowledge-Guided Learning for Cross-Spectral Image Patch Matching