Efficient numerical methods for solving the Schrödinger equation with a potential varying sinusoidally with time