Dynamics of a FitzHugh-Nagumo system driven by a periodic signal in the presence of colored noise