Impact of interfaces on phonon and electron transport in oxides and chalcogenides