Hysteresis-based switching observers for linear systems using quadratic boundedness