A Model for the Sustainable Achievement of the Optimum Return for Crops in Greenhouses