Distribution and ecology of early ferns