A plant growth model for controlled-environment conditions incorporating canopy structure and development: application to snap bean