Oscillations and hysteresis in an epidemic model with information-dependent imperfect vaccination