Three-dimensional nature of vortices in the near wake of a wavy cylinder