Bifurcation thresholds in an SIR model with information-dependent vaccination