The Fredholm Approach to Asymptotic Inference on Nonstationary and Noninvertible Time Series Models