Correcting photodetector nonlinearity in dual-comb interferometry