Ultra-broadband THz/IR upconversion and photovoltaic response in semiconductor ratchet-based upconverter