Event-based synchronization in biology: Dynamics of pulse coupled oscillators