Gene replacement by homologous recombination in plants