Interfacial thermal transport in atomic junctions