Fluorescence of nanodiamonds under the influence of surfactants