Phase resetting in medicine and biology