Improved docs for infer_datetime_format
Fixes #12152

pls add to doc-string of `pd.to_datetime` as well.
 Thanks - I think I've sorted all of those now.
 maybe show an example where this helps (in Examples) mainly for pd.to_datetime
 thanks!
