Immunity and immunopathology to viruses: what decides the outcome?