API: pd.infer_freq interacts correctly with a Series

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)

closes #6407