Direct numerical simulation of horizontal convection driven by differential heating