Transient electron transport in the III–V compound semiconductors gallium arsenide and gallium nitride