Direct numerical simulation of turbulent scalar transport across a flat surface