Chaotic dynamics in spinor Bose–Einstein condensates