Make parseDate return NaN for invalid dates (consistent with parseInt/parseFloat)