Spot detection in light microscopy images with automatic scale selection and self-adaptive thresholding