BUG FIX: cartesian_product now converts all arguments to ndarrays

Fixes GitHub issue #6439.
Merge branch 'fix-cartesian-product' of https://github.com/shoyer/pandas into shoyer-fix-cartesian-product