The analogue of the Lifshitz-Kosevich formula for the DHVA effect in the vortex state of a two-dimensional superconductor