The three-dimensional time and volume averaged conservation equations of two-phase flow