Structural interplay between germline and adaptive recognition determines TCR-peptide-MHC cross-reactivity