Accurate pre- and post-eruption orbital periods for the dwarf/classical nova V1017 Sgr