Small-Scale Structures in Three-Dimensional Hydrodynamic and Magnetohydrodynamic Turbulence