Direct numerical simulation of natural convection over horizontal plates