Spatial pattern analysis in ecology based on Ripley's K-function: Introduction and methods of edge correction