The Pairwise Expectation Maximization Algorithm for Fitting Parameter-Driven Models