Growth accounting with intermediate inputs and the transmission of technical change