While the jury are kept together, either during the progress of the trial or after their retirement for deliberation, they must be provided by the sheriff, at the expense of the county, with suitable and sufficient food and lodging.