Periodic response and stability of hysteretic oscillators