Direct numerical simulation of two-phase flow with application to air layer drag reduction