Ferns can evolve ‘backward,’ scientists discover