Design of Observers for Hybrid Systems