Transfer of foreign genes to plants and its use to study developmental processes