Curvature and isocurvature perturbations from two-field inflation in a slow-roll expansion