ENH: Added support for datetime arrays in __array_struct__.

Resolves issue #5350.
I think having separate checks for `M` and `m` would be more explicit than using `tolower` here.