Explicit expression for the two-loop measure in the heterotic string theory