The immune response against flaviviruses