Interpolating the Sherrington-Kirkpatrick replica trick