Human ecology and family planning