Effect of gap on the flow characteristics in the wake of a bluff body near a wall