generate a range of days between two dates