Extra community hospital beds will be available in County Durham and Darlington this winter to help ease demand on NHS hospitals.