Photoperiodic and genetic control of carbon partitioning in peas and its relationship to apical senescence.