Maintaining ecological integrity and sustaining ecosystem function in urban areas