Time-dependent perturbation of a two-state quantum system by a sinusoidal field