ENH: pd.infer_freq() will accept a Series as input
API: pd.infer_freq() will now raise a TypeError if given an invalid Series/Index type (GH6407)