Chaotic dynamics in the seasonally forced SIR epidemic model