Spin current through a quantum dot in the presence of an oscillating magnetic field