Embedded Runge-Kutta scheme for step-size control in the interaction picture method