Nonlinear response of a unidirectional erbium-doped fiber ring laser to a sinusoidally modulated pump power