Ultrafast Energy Flow and Structural Changes in Nanoscale Heterostructures