Semblance: A Rank-Based Kernel on Probability Spaces for Niche Detection