Direct measurements of three-dimensional localization of light near the nanostructures with sub-wavelength spatial resolution