Postharvest treatment of dates