Evolution of the nuclear genome of ferns and lycophytes