Relationships between ripening-phase productivity and crop duration, canopy photosynthesis and senescence in transplanted and direct-seeded lowland rice