Effects of abiotic heterogeneity on species densities and interaction strengths lead to different spatial biodiversity patterns