converts Julian date to Gregorian date