Talbot effect based tunable setup for the measurement of stepped surfaces: Plane and spherical wavefront illumination