Tracing the structure of the Milky Way with detached eclipsing binaries from the VVV survey - I. The method and initial results