L-system models for image-based phenomics: case studies of maize and canola