A simple method to fit geometric series and broken stick models in community ecology and island biogeography