converts Julian date number to Gregorian date