Analyzing patterns of spatial and niche overlap among species at multiple resolutions