Spatial scale and measurement of edge effect in ecology