A null model for quantifying the geometric effect of habitat subdivision on species diversity