Germline variation controls the architecture of somatic alterations in tumors