An epidemiological model with voluntary quarantine strategies governed by evolutionary game dynamics