Measurement of hindered diffusion in complex geometries for high-speed studies of single-molecule forces