Optimization of water curing for the preservation of chestnuts (Castanea sativa Mill.) and evaluation of microbial dynamics during process