ENH: optimize: curve_fit now warns if pcov is undetermined

Add `category=OptimizeWarning`