Leucocyanidin reductase activity and accumulation of proanthocyanidins in developing legume tissues