Robust nonparametric quantification of clustering density of molecules in single-molecule localization microscopy