Add utility function for conversion between q raw array and numpy datetime64/timedelta64.

Closes #6.