Add support for converting datetimes to/from numpy