Hetero-integration enables fast switching time-of-flight sensors for light detection and ranging